<html class="js cssanimations">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>Wechat Manger System</title>
    <meta name="description" content="这是一个 user 页面">
    <meta name="keywords" content="user">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="renderer" content="webkit">
    <meta http-equiv="Cache-Control" content="no-siteapp">
    <link rel="icon" type="image/png" href="../public/AmazeUI-2.7.2/assets/i/favicon.png">
    <link rel="apple-touch-icon-precomposed" href="../public/AmazeUI-2.7.2/assets/i/app-icon72x72@2x.png">
    <meta name="apple-mobile-web-app-title" content="Amaze UI">
    <link rel="stylesheet" href="../public/AmazeUI-2.7.2/assets/css/amazeui.min.css">
    <link rel="stylesheet" href="../public/AmazeUI-2.7.2/assets/css/admin.css">
</head>

<body data-ext-version="1.4.2">
    <header class="am-topbar am-topbar-inverse admin-header">
        <div class="am-topbar-brand">
            <strong>微信公众号后台管理系统</strong>
        </div>
        <button class="am-topbar-btn am-topbar-toggle am-btn am-btn-sm am-btn-success am-show-sm-only" data-am-collapse="{target: '#topbar-collapse'}"><span class="am-sr-only">导航切换</span> <span class="am-icon-bars"></span></button>
        <div class="am-collapse am-topbar-collapse" id="topbar-collapse">
            <ul class="am-nav am-nav-pills am-topbar-nav am-topbar-right admin-header-list">
                <li>
                    <a href="javascript:;"><span class="am-icon-envelope-o"></span> 收件箱 <span class="am-badge am-badge-warning">5</span></a>
                </li>
                <li class="am-dropdown" data-am-dropdown="">
                    <a class="am-dropdown-toggle" data-am-dropdown-toggle="" href="javascript:;">
							<span class="am-icon-users"></span> {{session.loginUser.username}} <span class="am-icon-caret-down"></span>
						</a>
                    <ul class="am-dropdown-content">
                        <li>
                            <a href="#"><span class="am-icon-user"></span> 资料</a>
                        </li>
                        <li>
                            <a href="#"><span class="am-icon-cog"></span> 设置</a>
                        </li>
                        <li>
                            <a href="/logout"><span class="am-icon-power-off"></span> 退出</a>
                        </li>
                    </ul>
                </li>
                <li class="am-hide-sm-only">
                    <a href="javascript:;" id="admin-fullscreen"><span class="am-icon-arrows-alt"></span> <span class="admin-fullText">开启全屏</span></a>
                </li>
            </ul>
        </div>
    </header>
    <div class="am-cf admin-main">
        <div class="admin-sidebar am-offcanvas" id="admin-offcanvas">
            <div class="am-offcanvas-bar admin-offcanvas-bar">
                <ul class="am-list admin-sidebar-list">
                    <li>
                        <a href="index.html"><span class="am-icon-home"></span> 首页</a>
                    </li>
                    <li class="admin-parent">
                        <a class="am-cf" data-am-collapse="{target: '#collapse-user'}"><span class="am-icon-user"></span> {{menu.userManger.name}} <span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                        <ul class="am-list admin-sidebar-sub am-collapse am-in" id="collapse-user">
                            {{each menu.userManger.childMenu}}
                            <li>
                                <a href="{{$value.path}}" class="am-cf"><span class="am-icon-table"></span> {{$value.name}}<span class="am-fr am-margin-right"></span></a>
                            </li>
                            {{/each}}
                        </ul>
                    </li>
                    <li>
                        <a class="am-cf" data-am-collapse="{target: '#collapse-file'}"><span class="am-icon-file"></span> {{menu.fileManger.name}}<span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                        <ul class="am-list admin-sidebar-sub am-collapse am-in" id="collapse-file">
                            {{each menu.fileManger.childMenu}}
                            <li>
                                <a href="{{$value.path}}" class="am-cf"><span class="am-icon-table"></span> {{$value.name}}<span class="am-fr am-margin-right"></span></a>
                            </li>
                            {{/each}}
                        </ul>
                    </li>
                    <li>
                        <a class="am-cf" data-am-collapse="{target: '#collapse-message'}"><span class="am-icon-envelope-o"></span> {{menu.messageManger.name}}<span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                        <ul class="am-list admin-sidebar-sub am-collapse am-in" id="collapse-message">
                            {{each menu.messageManger.childMenu}}
                            <li>
                                <a href="{{$value.path}}" class="am-cf"><span class="am-icon-table"></span> {{$value.name}}<span class="am-fr am-margin-right"></span></a>
                            </li>
                            {{/each}}
                        </ul>
                    </li>
                    <li>
                        <a class="am-cf" data-am-collapse="{target: '#collapse-menu'}"><span class="am-icon-envelope-o"></span> {{menu.menuManger.name}}<span class="am-icon-angle-right am-fr am-margin-right"></span></a>
                        <ul class="am-list admin-sidebar-sub am-collapse am-in" id="collapse-menu">
                            {{each menu.menuManger.childMenu}}
                            <li>
                                <a href="{{$value.path}}" class="am-cf"><span class="am-icon-table"></span> {{$value.name}}<span class="am-fr am-margin-right"></span></a>
                            </li>
                            {{/each}}
                        </ul>
                    </li>
                    <li>
                        <a href="admin-form.html"><span class="am-icon-pencil-square-o"></span> 表单</a>
                    </li>
                    <li>
                        <a href="#"><span class="am-icon-sign-out"></span> 注销</a>
                    </li>
                </ul>
                <div class="am-panel am-panel-default admin-sidebar-panel">
                    <div class="am-panel-bd">
                        <p><span class="am-icon-bookmark"></span> 公告</p>
                        <p>时光静好，与君语；细水流年，与君同。—— Amaze UI</p>
                    </div>
                </div>
                <div class="am-panel am-panel-default admin-sidebar-panel">
                    <div class="am-panel-bd">
                        <p><span class="am-icon-tag"></span> wiki</p>
                        <p>Welcome to the Amaze UI wiki!</p>
                    </div>
                </div>
            </div>
        </div>
        <!-- content start -->
        <div class="admin-content">
            <div class="admin-content-body">
                {{block 'content'}}{{/block}}
            </div>
            <footer class="admin-content-footer">
                <hr>
                <p class="am-padding-left">© 2014 AllMobilize, Inc. Licensed under MIT license.</p>
            </footer>
        </div>
        <!-- content end -->
    </div>
    <script src="../node_modules/jquery/dist/jquery.min.js"></script>
    <script src="../public/AmazeUI-2.7.2/assets/js/amazeui.min.js"></script>
    <script src="../public/AmazeUI-2.7.2/assets/js/app.js"></script>
</body>
{{block 'script'}}{{/block}}

</html>